package com.party.core.service.mall;

import com.party.core.model.mall.MallGoodsResources;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * Created by huangwuming on 2018/3/27/027.
 */
public interface IMallGoodsResourcesService extends IBaseService<MallGoodsResources> {
    MallGoodsResources getUnique(MallGoodsResources mallGoodsResources);

    List<MallGoodsResources> findByGoodsId(String goodsId, int type);

    void deleteByUnique(MallGoodsResources resources);

    void deleteByGoodsId(String goodsId);
}
